const {contextBridge, ipcRenderer} = require('electron')

contextBridge.exposeInMainWorld('electronAPI', {
    encrypt: (data) => ipcRenderer.invoke('encrypt', data),
    decrypt: (data) => ipcRenderer.invoke('decrypt', data)
})
